<%@ page language="Java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
    <title>用来显示时间的JavaBean</title>  
    <style type="text/css">
    	#clock{
    		width:420px;
    		height:80px;
    		background:#E0E0E0;
    		font-weight:bold;
    		border:solid 5px orange;
    		padding:20px;
    	}
    	#week{
    		padding-top:15px;
    		color:#0080FF;
    	}
    </style> 
    <meta http-equiv="Refresh" content="1">     
 </head>
 <body>
 <jsp:useBean id="date" class="com.lyq.bean.DateBean" ></jsp:useBean>
 <div align="center">
 	<div id="clock">
 		<jsp:getProperty property="dateTime" name="date"/>
 	</div>
 	<div id="week">
 		<jsp:getProperty property="week" name="date"/>
 	</div>
 </div>
 </body>
</html>